package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.AppUserEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-06 01:11:03
 */
public interface AppUserService {
	
	AppUserEntity queryObject(String username);
	
	List<AppUserEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(AppUserEntity appUser);
	
	void update(AppUserEntity appUser);
	
	void delete(String username);
	
	void deleteBatch(String[] usernames);
}
